home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 034a / bgame33.zip / BGAME33.DOC < prev    next >
Text File  |  1990-07-31  |  21KB  |  409 lines

  1.  
  2.  
  3.  
  4. ==============================================================================
  5.  
  6.                         Backgammon Door Version 3.3!
  7.  
  8.                    A Multiplayer Door for PCBoard Version 14
  9.  
  10.                         Registration is only $10.00!
  11.  
  12.               Written by: Gerry Freymann
  13.                           R.R.#1
  14.                           Baltimore, ONT K0K 1C0
  15.  
  16.           The Phantom BBS (416) 342-3734/3766 USR HST
  17.                           (416) 342-5573 Hayes Ultra
  18.  
  19. ==============================================================================
  20.  
  21.  
  22.  
  23.  
  24.  
  25. Brief Update History:
  26. ====================
  27. 1.0 - Initial release
  28.  
  29. 1.1 - Updated to work with either PCBoard 12 or 14
  30.  
  31. 2.0 - November 1988
  32. ===================
  33.     * Sorry gang, but I didn't have alot of help testing this one out.
  34.       Several HUGE bugs slipped through in the previous releases, which
  35.       I hope are now gone.  First, it wouldn't allow a player to enter
  36.       NO MOVE in certain cases - which in effect locks the game until
  37.       they got a roll they liked.  Also, they could keep entering the
  38.       game over and over until the roll produced suited their liking.
  39.       This has been fixed also - they MUST use the roll now.  Also the
  40.       OFF command wouldn't work for Player 2!  Geez!  Many, many, many
  41.       thanks to Howard Hartman of The Firehouse BBS, 301 942-5616 who
  42.       was very helpful when it came time to fix these things!  His
  43.       reward for helping out?  A free Registered copy!
  44.  
  45. 3.0 - December 1, 1988
  46. ======================
  47.       Well, three more things were fixed up.  Some good cheaters found
  48.       another spot where you could press <RETURN> and return to the menu
  49.       without making a move.  You could then go back into the game and
  50.       get a new roll.  Fixed.  Player 2 could place a chip that was on
  51.       the bar ANYWHERE on the board!  Fixed.  When a game was completed
  52.       the index file and Bulletin didn't recognize it.  Fixed.
  53.       Also rewrote the code in Quickbasic using Clint Labarthe's Door
  54.       Patch code.  Many thanks to Clint for making such a great set of
  55.       routines available.  Ver 3.0 only works with PCBoard 14.0 now!
  56.  
  57. 3.1 - January 18, 1989
  58. ======================
  59.       The authors of Door Patch updated their code and forced me to
  60.       recompile all of my Doors using DORPCH35.EXE!  Also added was an
  61.       option to pick and choose what Bulletin file (if any) you wanted.
  62.       Substitute the word NULL on the line(s) of the path/name of the
  63.       Bulletin file if you don't wish to have them produced.  Also changed
  64.       the way the Hall of Fame is added to the Bulletin at the end of
  65.       program.  The old SHELL COPY command was causing problems for those
  66.       with a limited amount of memory.  Added a carraige return at the end
  67.       when the program says creating the Bulletin.  Looks nicer now.
  68.       Also fixed the problem with the NDX file getting mysteriously set to
  69.       zero!  Every now and then you could have a batch of games going and
  70.       when somebody entered the door the program thought NO games were
  71.       underway.  All you found in the .NDX file was the number 0. This has
  72.       been fixed.
  73.  
  74. 3.2   Official release October 11, 1989
  75. =======================================
  76.     - The Index file has been changed to a Random Access File.  The program
  77.       will read this file at various points throughout the Door.  The index
  78.       file will only be updated IF a new game is added, a player completes
  79.       his move or a player joins a game waiting for a player.  It also only
  80.       updates the RECORD in the .NDX file as opposed to rewriting the entire
  81.       file.  This will fix the mixed up .NDX file problem on multi-node
  82.       systems.
  83.     - All game files have been changed to Random access files and are
  84.       opened with File Locking syntax.
  85.     - The opening and closing screens have been changed in favour of
  86.       quicker log-ins and log-offs.
  87.     - The opening where the program searches for the Players' name has been
  88.       updated.  The program now tells the user it's his move in game 1, 2,
  89.       3, etc..  The program also lists the game numbers of games which
  90.       need a second player.
  91.     - The Sysop maintenance program [BGKILL.EXE] has been updated to 3.2
  92.       and has also been rewritten in QuickBasic.  Very FAST!
  93.     - An option to allow the player to withdraw from the game has been
  94.       added.  Option 9 - a Sysop only command has been removed.  If you
  95.       really want to delete a game just DEL BGAME.0?? and run the
  96.       BGKILL program.
  97.     - If you don't specify a configuration file after the BGKILL name,
  98.       Bgkill will now open BGAME.CFG by default.  Bgkill does require
  99.       a .cfg file to be passed onto it, but if one isn't, BGAME.CFG will
  100.       be used.
  101.     - Stopped displaying the Hall of Fame (if one exists) upon exiting the
  102.       door program to speed up exits.  If they want to see the Hall of Fame
  103.       they can read the Bulletin!
  104.     - added an option to disable the Page the Sysop for Game mode.  If you
  105.       don't want the game to automatically play the User then delete all
  106.       comments in your .CFG file(s).  If those 'comments' do not exist the
  107.       Page Sysop for A Game mode is disabled and the user will see a comment
  108.       saying "Sorry, the Sysop is unavailable for a game!"
  109.     - If for some reason the MainMenu gets lost on the users screen, if
  110.       they enter ? or H the program will remind them option 6 displays the
  111.       help file and then the Menu will be reprinted.
  112.     - Added Option #9 to the main menu - Scan Player Status.  This will scan
  113.       through the index file and report the user's status in the games.
  114.     - Fixed the counter display while in game.  It was always at 0 no
  115.       matter what.
  116.     - Fixed the main module so it now recognizes when either player has men
  117.       on the bar.  My new method of fixing the PL2 problems created a real
  118.       sneaky problem.  Also added more code to BGKILL to fix some values in
  119.       games that have been previously affected.. meaning, if you had games
  120.       where players had chips on the bar and they weren't being acknowledged
  121.       by the game, BGKILL will help to make sure they are seen.
  122.     - Also fixed the program so it realizes a game has been completed.  It
  123.       now correctly announces the winner during game play, in the Bulletin
  124.       an in the .NDX file.
  125.      - Now that the main program realizes a game is complete, it wasn't
  126.        setting a flag that told BGKill to remove it.  This has been
  127.        fixed.
  128.      - Added a field that will keep track of the DATE of the last move.
  129.      - Changed the way you enter commands during game play.  This makes most
  130.        of the options available all the time, like Leave Message, Redraw
  131.        Board, Give Up, Roll....
  132.      - In case it was not previously stated, the maximum number of games
  133.        that can be going at one time is 100.  You can specify any number
  134.        in your .CFG file but if it's over 100 the game will set the max. #
  135.        to 100.
  136.      - Did some more work on Page the Sysop for A Game.  Made a few spots
  137.        like OFF   BAR  and  NO come out like it was typed letter by letter
  138.        instead of magically appearing as one long keystroke!
  139.      - You should be able to leave messages in Upper and Lowercase letters
  140.        now.  However, it is limited to 78 characters.  Like it says, a ONE
  141.        LINE comment.
  142.      - Changed the Ctrl-K Aborts Page prompt to just (K) aborts.  Works well.
  143.        I can't get any Ctrl codes to filter through with Door Patch.
  144.      - Cleaned up more code in the Page Sysop for a Game module.  More to
  145.        come.
  146.      - Fixed some of the timing in Page Sysop module.  Think it's done.
  147.      - Added a Color (Ansi Graphics) on/off toggle on the command line
  148.        during game play.
  149.      - Fixed error when a player used the G)ive Up command.  If it was
  150.        Player 2 the Bulletin said the player who gave up won by default.
  151.        I thought I had fixed this earlier but I guess not! Sorry!
  152.      - July 17 saw 12 bytes added to each game file.  Forgot to add that
  153.        to BGKill.  Changed BGKill to conform.
  154.      - Added Expert Toggle for those who love to play Backgammon!
  155.      - BGKill wouldn't rename files.  Fixed.
  156.      - When the game lists the players in either Option 3 or 5 it will now
  157.        stop and ask if you want to see more every 20 lines.
  158.      - When you make a move in your game and decide you are finished, the
  159.        game will ask you to confirm this.
  160.      - You can stack commands.. like make a move in game 7 by entering 1-7.
  161.        However, it only worked for games from 1-9.  Fixed.  Will now handle
  162.        up to game 100.
  163.      - Fixed the Page Sysop Mode!  It is in working order and I even polished
  164.        it up again.
  165.      - When the program scans for the user's name in the index file it will
  166.        now say "Searching..." instead of just sitting there.
  167.  
  168. ---------------------------------------------------------------------------
  169. 3.3 - added necessary code to work with Register program (see DOCS)
  170.     - added a colour graphics toggle to Main Menu
  171.     - Added a question mark at the end of the Main Menu command line
  172.     - put in the current date to the game file when player2 joins a game.
  173.     - justified the game numbers from 1-9 when listing games
  174.     - This version will also place comments in your caller log to let you
  175.       know if the user is using the page sysop option.
  176.     - Updated the Bgkill program
  177.       -now creates a Bgkill.LOG file (overwrites each time)
  178.       -automatically deletes games that have not had a move in them for
  179.        45 days or longer
  180.  
  181.  
  182.  
  183. UPDATING INSTRUCTIONS:  Follow in order if upgrading from old old versions
  184. ---------------------------------------------------------------------------
  185.  
  186. Updating from previous versions to 3.1 - IMPORTANT!!!!!!!!
  187. ==========================================================
  188. Version 3.x produce an ANSI version of the Bulletin and ASCII
  189. version.  In your .CFG file you must specify the full path and file
  190. name for BOTH versions of the Bulletin.  If you were running a version of
  191. Backgammon LOWER than 3.0 are now updating then you must change your
  192. .CFG file before running the program!  See the section on the .CFG file
  193. later in this document.
  194.  
  195. Updating to 3.2!
  196. ================
  197. After making any necessary changes to upgrade to 3.1 you must now run the
  198. convert program [BGCNVT.EXE] to change your game files into the new format.
  199. PLEASE MAKE A BACK-UP FIRST!!!!!  If you were running a previous 3.2 Beta
  200. no changes are needed.  Just replace your Bgame.Exe file.  If for some
  201. reason the convert program does not work for you, then please log onto
  202. The Phantom BBS and request access to upload your game files.  I will then
  203. convert them myself and you can download them.
  204.  
  205. Updating to 3.3!
  206. ================
  207. Simply replace your current bgame.exe with BGAME33.EXE and carry on!
  208.  
  209.  
  210. OVERVIEW OF BACKGAMMON DOOR
  211. ---------------------------------------------------------------------------
  212.  
  213. Welcome to multi players Backgammon for PCBoard Version 14.  This program
  214. was originally written in Turbo Basic.  I had varied success with that
  215. language.  The programs just wouldn't work on ALL computers.  With the
  216. release of Ver 3.0 I have switched to QuickBasic, and use the Door Patch
  217. code produced by Clint Labarthe.  That means that this file will only
  218. work with PCBoard Version 14.0.  It also means you will need two more
  219. files in the same directory you are running this door or in a directory
  220. that is in your PATH statement.  Those files are DORPCH35.EXE and
  221. BRUN30.EXE.  Read over SYSOP.DOC for more information.
  222.  
  223. This door is an authorized adaptation of Commodore Backgammon by Jeff
  224. Vavasour and Geoff Rideout appearing in Compute's! Gazette, Nov/85.
  225.  
  226. One of the new features in this game is the option for the user to Page
  227. the Sysop for a game.  Sounds nice eh?  But how about having the computer
  228. make the moves for you, at anytime of the day or night, and let the user
  229. BELIEVE that it's really you?  Sound interesting?  Well, that is how it's
  230. done.  The User will most likely believe he is in fact playing the Sysop
  231. but it's actually the computer!  You'll have to watch it to believe it!!
  232.  
  233. Stacking of commands in some places is also allowed.  To make a move in
  234. game 3, all you have to enter at the Main Menu is 1-3 <RETURN>.  Beats
  235. entering 1 <RETURN>, then 3 <RETURN>.
  236. When you enter the Backgammon Door you have the following options from the
  237. Main Menu:
  238.  
  239.                 1) Make a move in a Game that you are in
  240.                 2) Start a brand new game and wait for a Player
  241.                 3) See a Game that is already underway
  242.                 4) Become Player 2 in a Game waiting for a Player
  243.                 5) List the current Games, Players & who's move
  244.                 6) Complete instructions for Backgammon Door
  245.                 7) End program and Exit to the BBS
  246.                 8) Page Sysop for a Game
  247.                 9) Scan your Current Status
  248.                 X) Toggle Expert Mode
  249.                 G) Toggle Graphics Mode On/Off
  250.  
  251. Guesses are entered as two letters.  Like A-F.  If the move is illegal
  252. the program will give you a message and make you enter it again.  There
  253. are also some options available to the players, like leaving a message to
  254. their opponent, redrawing the grid, Draw, and just plain No move.
  255.  
  256. The players are colour coded as Yellow and Cyan in graphics mode or as
  257. "0" and "O" for Cyan and Yellow respectively.
  258.  
  259. When a user exits the Door the program will write a Bulletin that
  260. you can add to your system containing the names of the Players and
  261. their opponents, who's turn it is, if the game is over, how may guesses
  262. have been made and if some games have been completed, the
  263. "Hall of Fame" appears at the bottom of the Bulletin.
  264. The "Hall of Fame" is contained in a file that is called BGAME.SCR
  265. and will appear once a game has been completed and should remain there
  266. until you deem fit to 'reset' the Hall of Fame scoreboard.
  267. The program actually copies BGAME.SCR to your Bulletin so deleting
  268. BGAME.SCR will erase any completed game history.
  269.  
  270.  
  271. FILES NEEDED FOR DOOR OPERATION
  272. ---------------------------------------------------------------------------
  273.  
  274. The following files are included in your ARChive.  If you have any
  275. doubt about the integrity of these files, feel free to download them
  276. directly from my BBS in Baltimore, Ontario Canada (416) 342-3734/3766
  277. USR HST and (416) 342-5573 Hayes Ultra.
  278.  
  279. *BGAME33.EXE      <<--The main program
  280. *  BGAME.CFG      <<--A sample configuration file
  281.    BGAME          <<--A sample file to run the whole thing
  282. *  BGAME.INS      <<--The instructions the user will see
  283.  BGAME33.DOC      <<--I luv this part - You're reading it right now!
  284. * BGKILL.EXE      <<--Sysop Maintenance program, use in your Event.Sys
  285.   BGCNVT.EXE      <<--Converts GAME and NDX files to new 3.2+ format
  286.  LICENSE.DOC      <<--You must read, understand and agree to this!
  287. REGISTER.FRM      <<--Registration form only
  288.    SYSOP.DOC      <<--Important set-up instructions
  289.    FLYER.DOC      <<--Information on other programs available from me
  290.  
  291. Files created by the program after running it:
  292.  
  293. *  BGAME.SCR      <<--Hall of Fame is held in here once a game has ended
  294. *  BGAME.0??      <<--Games currently underway, ?? equals 01 to 100
  295. *  BGAME.NDX      <<--Quick index off all the Games
  296. --------------------------------------------------------------------------
  297. *--> files marked with the "star" must be in the directory you are running
  298.      this program from.
  299. --------------------------------------------------------------------------
  300.  
  301. Files needed for Door Patch operation:
  302. ---------------------------------------------------------------------------
  303.  
  304. DORPCH35.EXE
  305.   BRUN30.EXE
  306.  
  307. I would have included them in this ARChive but since Clint's Door Patch
  308. is becoming the standard, I felt most Sysops would have them anyway, and
  309. it also keeps the size of the ARChive down!  If you don't have these I
  310. have them available to you on my Board.
  311.  
  312.  
  313. More Comments:
  314. ---------------------------------------------------------------------------
  315. If for some reason the program doesn't seem to be reading the list of games
  316. and says that none are underway (even though there are!) delete the .ndx
  317. file and run BGKILL.
  318.  
  319.  
  320. BGKILL.EXE - Sysop Maintenance Program - UPDATED!
  321. ---------------------------------------------------------------------------
  322. This program can be called up from DOS or added to your Event.sys file.
  323. It's purpose is to delete any games that are completed and move all other
  324. games up.  Games are stored as BGAME.001 for game 1, BGAME.002 for
  325. game 2 etc.  The program reads these files sequentially from 1 to the end
  326. and should you delete a game in the middle it will not see any game past
  327. that point.  Therefore you should run BGKILL to delete unwanted finished
  328. games.  It will automatically delete expired games and rename the remaining
  329. games from 1 to end, update the Bulletin and index file.
  330.  
  331. Also, if for any reason your index file becomes inaccurate, simply run
  332. BGKILL and it will be updated.  BGKILL actually reads in each data file
  333. of all the games and read the Player's name and who's turn and all that
  334. important stuff.  It kinda double checks everything and sets it right.
  335.  
  336. BGKill requires the name of a configuration file after it.  If one isn't
  337. provided it will attempt to open [BGAME.CFG] by default.
  338.  
  339. ** As of Bgame v3.3 the Bgkill program will now automatically delete games
  340. that have not seen action for 45 days or more.  Bgkill also creates a log
  341. file called BgKILL.LOG which will let you know what games have been
  342. deleted and why.  The Log file is overwritten each time the program is run
  343. so you don't have to worry about it growing and growing.
  344.  
  345.  
  346.  
  347. The .CFG File should contain the following information:
  348. ---------------------------------------------------------------------------
  349.  
  350. C:\PCB\PCBOARD.SYS     <-NAME AND LOCATION OF PCBOARD.SYS
  351. The Phantom BBS        <-NAME OF YOUR BOARD
  352. Gerry                  <-SYSOP FIRST NAME
  353. Freymann               <-SYSOP LAST NAME
  354. 20                     <-MAX NUMBER OF GAMES YOU WANT - up to 100
  355. C:\PCB\GAMES\GBLT1     <-PATH AND NAME OF ASCII BULLETIN | NULL if not needed
  356. C:\PCB\GAMES\GBLT1G    <-PATH AND NAME OF ANSI BULLETIN  | NULL if not needed
  357. NEXT 25 LINES          <-ONE LINE COMMENTS YOU ENTER, THE COMPUTER WILL
  358.                          RANDOMLY PICK ONE WHEN THE USER CHOOSES PAGE
  359.                          SYSOP FOR A GAME.  YOU NEED THEM ALL!  AND YOU
  360.                          SHOULD CHANGE THEM ONCE IN A WHILE OR THEY'LL CLUE
  361.                          IN THAT IT'S A FAKE!
  362.                          Omit these if you don't want the Page Sysop feature.
  363.  
  364.  
  365. Final Acknowledges:
  366. ===================
  367. My thanks to the following Sysops who helped a great deal reporting problems,
  368. making suggestions and generally making things easier during the Beta period
  369. for version 3.2.  All were rewarded with a free Registered copy of the door.
  370.  
  371. Drew Lorent, Sysop The Token Ring BBS, Bloomfield, NF 201 546-1468
  372.  
  373. Lance Williams, Sysop Kadet PCBoard, Camden New York, 315 245-3815 *
  374.  
  375. Tom McDermet, Sysop The Odyssey, Morris Plains, NJ, 201 984-6574
  376.  
  377. Howard Hartman, Sysop NETWORK East, Rockville, Maryland, 301 942-5616 **
  378.  
  379. Matthew Lewis, Sysop Media Shack PCBoard, Toronto, Ontario 416 699-1846
  380.  
  381.  
  382. (  * Already Registered user copy of Bgame)
  383.  
  384. ( ** Previous Beta Tester given Free Reg'd copy)
  385.  
  386.  
  387. Support the Shareware concept...
  388. ---------------------------------------------------------------------------
  389. To Register, please print out and return the REGISTER.FRM in the Zip file.
  390. With the release of Bgame 3.3 I have made a slight change to the
  391. register process.  Now, when you register, you will be given a small program
  392. called BGAMEREG.EXE which you run in your door subdirectory.  This program will
  393. create a file called BGAME.REG which will instantly register your existing
  394. copy of the door program, and any and all future versions as well.  This
  395. means that any future releases you find will automatically continue to say
  396. registered to you, without the need to come back to me.  I hope you'll
  397. appreciate this new system.  You should be able to call The Phantom BBS and
  398. make your initial call, wait until I receive your payment, and download this
  399. small utility without spending alot of time on the phone.  Or, for an
  400. additional $5.00 per order, I can send you the whole package on disk using
  401. the postal service.  The choice is yours.  I'll also be creating a Door so
  402. Registered Sysops may download their *.REG files and/or the *REG.EXE
  403. programs.
  404.  
  405. ---------------------------------------------------------------------------
  406.  
  407. Thanks for your support!
  408.  
  409.